﻿app.controller('CompletedController', ['$scope', 'ItemsService', function ($scope, ItemsService) {
    ItemsService.getTodoItems().then(function (data) {
        $scope.todos = data;
    });
}]);